﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace 数据库主从同步测试.Models {
    public class News {
        public int Id { get; set; }
        public string Content { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime LastUpdateTime { get; set; }
    }

    public class CreateNews {
        [Required]
        [StringLength(1000)]
        public string Content { get; set; }
    }
}
